<?php
require_once("dao/DAOFactory.php");
require_once("bizlayer/IBiz.php");

class EventMgmt implements IBiz{
	static $dao;
	
	public static function initializeDao(){
		self::$dao = DAOFactory::getDAO("event");
	}
	
	public static function getLatestEvent(){
		self::initializeDao();
		return self::$dao->getLatestEvent();
	}
	
	public static function getEventById($eventid){
		self::initializeDao();
		return self::$dao->getItem($eventid);
	}
	
}


?>